package com.api;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @packageName: com.api
 * @name: ApiApp
 * @description:
 * @author: 董定卓
 * @dateTime: 2019/6/12 15:53
 */
@SpringBootApplication
@MapperScan(basePackages = {"com.api.mapper"})
public class ApiApp {
    private static Logger logger = LoggerFactory.getLogger(ApiApp.class);

    public static void main(String[] args) {
        SpringApplication.run(ApiApp.class, args);
        logger.info("|-------------------------------------------------------------------------------------------------|");
        logger.info("|-----------------------------                                         ---------------------------|");
        logger.info("|<--------------- ღ( ´･ᴗ･` ) |         system start success           | ( ´･ᴗ･` )ღ--------------->|");
        logger.info("|<--------------- ღ( ´･ᴗ･` ) |         <系><统><启><动><完><毕>         | ( ´･ᴗ･` )ღ--------------->|");
        logger.info("|-----------------------------                                         ---------------------------|");
        logger.info("|-------------------------------------------------------------------------------------------------|");
    }
}
